package com.example.demo.service.impl;

import com.example.demo.mapper.NumberMapper;
import com.example.demo.pojo.Jilue;
import com.example.demo.pojo.User;
import com.example.demo.service.NumberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NumberServiceImpl implements NumberService {

    @Autowired
    private NumberMapper numberMapper;



    @Override
    public List<User> getAllNumbers() {
        return numberMapper.getAllNumbers();
    }

    @Override
    public List<User> getAllRole() {
        return numberMapper.getAllRole();
    }

    @Override
    public List<User> getTeacherStatus() {
        return numberMapper.getTeacherStatus();
    }

    @Override
    public List<User> getAllStatus() {
        return numberMapper.getAllStatus();
    }

    @Override
    public List<User> getWarn() {
        return numberMapper.getWarn();
    }

    @Override
    public List<User> getSeriouWarn() {
        return numberMapper.getSeriouWarn();
    }

    @Override
    public List<User> getSeekWarn() {
        return numberMapper.getSeekWarn();
    }

    @Override
    public List<User> getJiGuoWarn() {
        return numberMapper.getJiGuoWarn();
    }

    @Override
    public List<User> getOutWarn() {
        return numberMapper.getOutWarn();
    }

    @Override
    public List<Jilue> getUpdateTime() {
        return numberMapper.getUpdateTime();
    }
}
